/*
 * DataSource.js
 * Example using a data source
 *  
 *  
*/

var ds = data.getDataSource("LDAPDataSource");
var result = ds.doQuery();

var tmp = "There are " + result.size() + " records.\n";

var buffer = "";

for (var i=0; i< result.size(); i++) {
	buffer += result.get(i);
	
}

buffer;